/*
 * Created on 2006-2-20
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.hitrust.gs.net;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * @author simonyi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class GSAuditMsgBean implements GSBaseBean {

    private String gs_audit_date;
    private String gs_audit_cagegory;
    private String gs_audit_detail_id1;
    private String gs_audit_manufacture_id1;
    private String gs_audit_count1;
    private String gs_audit_unitprice1;
    private String gs_audit_totalprice1;
    private String gs_audit_detail_id2;
    private String gs_audit_manufacture_id2;
    private String gs_audit_count2;
    private String gs_audit_unitprice2;
    private String gs_audit_totalprice2;
    
    public Object process(ResultSet rs) throws SQLException {
        GSAuditMsgBean tBean = new GSAuditMsgBean();
        
        tBean.setGs_audit_date(rs.getString("gs_audit_date").trim());
        tBean.setGs_audit_cagegory(rs.getString("gs_audit_category").trim());
        
        tBean.setGs_audit_detail_id1(rs.getString("gs_audit_detail_id1")==null?"":rs.getString("gs_audit_detail_id1").trim());
        tBean.setGs_audit_manufacture_id1(rs.getString("gs_audit_manufacture_id1")==null?"":rs.getString("gs_audit_manufacture_id1").trim());
        tBean.setGs_audit_count1(rs.getString("gs_audit_count1")==null?"":rs.getString("gs_audit_count1").trim());
        tBean.setGs_audit_unitprice1(rs.getString("gs_audit_unitprice1")==null?"":rs.getString("gs_audit_unitprice1").trim());
        tBean.setGs_audit_totalprice1(rs.getString("gs_audit_totalprice1")==null?"":rs.getString("gs_audit_totalprice1").trim());

        tBean.setGs_audit_detail_id2(rs.getString("gs_audit_detail_id2")==null?"":rs.getString("gs_audit_detail_id2").trim());
        tBean.setGs_audit_manufacture_id2(rs.getString("gs_audit_manufacture_id2")==null?"":rs.getString("gs_audit_manufacture_id2").trim());
        tBean.setGs_audit_count2(rs.getString("gs_audit_count2")==null?"":rs.getString("gs_audit_count2").trim());
        tBean.setGs_audit_unitprice2(rs.getString("gs_audit_unitprice2")==null?"":rs.getString("gs_audit_unitprice2").trim());
        tBean.setGs_audit_totalprice2(rs.getString("gs_audit_totalprice2")==null?"":rs.getString("gs_audit_totalprice2").trim());

        return tBean;
    }
    
    public String getGs_audit_cagegory() {
        return gs_audit_cagegory;
    }
    public void setGs_audit_cagegory(String gs_audit_cagegory) {
        this.gs_audit_cagegory = gs_audit_cagegory;
    }
    public String getGs_audit_count1() {
        return gs_audit_count1;
    }
    public void setGs_audit_count1(String gs_audit_count1) {
        this.gs_audit_count1 = gs_audit_count1;
    }
    public String getGs_audit_count2() {
        return gs_audit_count2;
    }
    public void setGs_audit_count2(String gs_audit_count2) {
        this.gs_audit_count2 = gs_audit_count2;
    }
    public String getGs_audit_date() {
        return gs_audit_date;
    }
    public void setGs_audit_date(String gs_audit_date) {
        this.gs_audit_date = gs_audit_date;
    }
    public String getGs_audit_detail_id1() {
        return gs_audit_detail_id1;
    }
    public void setGs_audit_detail_id1(String gs_audit_detail_id1) {
        this.gs_audit_detail_id1 = gs_audit_detail_id1;
    }
    public String getGs_audit_detail_id2() {
        return gs_audit_detail_id2;
    }
    public void setGs_audit_detail_id2(String gs_audit_detail_id2) {
        this.gs_audit_detail_id2 = gs_audit_detail_id2;
    }
    public String getGs_audit_manufacture_id1() {
        return gs_audit_manufacture_id1;
    }
    public void setGs_audit_manufacture_id1(String gs_audit_manufacture_id1) {
        this.gs_audit_manufacture_id1 = gs_audit_manufacture_id1;
    }
    public String getGs_audit_manufacture_id2() {
        return gs_audit_manufacture_id2;
    }
    public void setGs_audit_manufacture_id2(String gs_audit_manufacture_id2) {
        this.gs_audit_manufacture_id2 = gs_audit_manufacture_id2;
    }
    public String getGs_audit_totalprice1() {
        return gs_audit_totalprice1;
    }
    public void setGs_audit_totalprice1(String gs_audit_totalprice1) {
        this.gs_audit_totalprice1 = gs_audit_totalprice1;
    }
    public String getGs_audit_totalprice2() {
        return gs_audit_totalprice2;
    }
    public void setGs_audit_totalprice2(String gs_audit_totalprice2) {
        this.gs_audit_totalprice2 = gs_audit_totalprice2;
    }
    public String getGs_audit_unitprice1() {
        return gs_audit_unitprice1;
    }
    public void setGs_audit_unitprice1(String gs_audit_unitprice1) {
        this.gs_audit_unitprice1 = gs_audit_unitprice1;
    }
    public String getGs_audit_unitprice2() {
        return gs_audit_unitprice2;
    }
    public void setGs_audit_unitprice2(String gs_audit_unitprice2) {
        this.gs_audit_unitprice2 = gs_audit_unitprice2;
    }
}
